package com.minedata.authorization.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.fastjson.JSONObject;

@RestController
@RequestMapping("/authorization")
public class AuthorizationController {

	@RequestMapping("")
	public String authorization(String params1, String params2) {
		JSONObject json = new JSONObject();
		json.put("errcode", 0);
		json.put("errmsg", "auth success");
		return json.toJSONString();
	}
}
